package com.jcp.entity;

/**
 * 通讯录实体类，没有实际对应的表，只是便于存储通讯录信息
 * @author 朱徐烽
 *
 */
public class AddressBook {

	private String userName;
	private String phone;
	private String deptName;
	private String deptManName;
	private String deptManPhone;
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public String getDeptManName() {
		return deptManName;
	}
	public void setDeptManName(String deptManName) {
		this.deptManName = deptManName;
	}
	public String getDeptManPhone() {
		return deptManPhone;
	}
	public void setDeptManPhone(String deptManPhone) {
		this.deptManPhone = deptManPhone;
	}
	
	
	
	@Override
	public String toString() {
		return "AddressBook [userName=" + userName + ", phone=" + phone + ", deptName=" + deptName + ", deptManName="
				+ deptManName + ", deptManPhone=" + deptManPhone + "]";
	}
	
	
	
	public AddressBook(String userName, String phone, String deptName, String deptManName, String deptManPhone) {
		super();
		this.userName = userName;
		this.phone = phone;
		this.deptName = deptName;
		this.deptManName = deptManName;
		this.deptManPhone = deptManPhone;
	}
	
	
	
	public AddressBook() {
		// TODO Auto-generated constructor stub
	}
}
